<?php
// +----------------------------------------------------------------------
// | 萤火商城系统 [ 致力于通过产品和服务，帮助商家高效化开拓市场 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~2024 https://www.yiovo.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed 这不是一个自由软件，不允许对程序代码以任何形式任何目的的再发行
// +----------------------------------------------------------------------
// | Author: 萤火科技 <admin@yiovo.com>
// +----------------------------------------------------------------------
namespace app\common\library\junziqian;

/**
 * EasySms配置类
 * Class Config
 * @package app\common\library\sms
 */
class Config
{

    protected string $appkey;
    protected string $appSecret;
    protected string $encryMethod;
    protected string $url;

    /**
     * 构造方法-开发线
     * Driver constructor.
     * @param array $smsConfig
     */
    // public function __construct($appSecret = null)
    // {
    //     // 配置信息
    //     $this->appkey      = '17e24c2ac0c44693';
    //     $this->appSecret   = '09bd6e8f17e24c2ac0c446939b5c0cf3';
    //     $this->encryMethod = 'md5';
    //     $this->url         = 'https://api.sandbox.junziqian.com';
    //     $this->tsType      = 2; /**默认ts单位:1毫秒,2秒*/
    //     //$this->url         = 'https://api.junziqian.com';
    // }

  public function __construct($appSecret = null)
    {
        // 配置信息
        $this->appkey      = '0773f5d6042cfaaf';
        $this->appSecret   = '5181353e0773f5d6042cfaafe4b265c6';
        $this->encryMethod = 'md5';
        $this->url         = 'https://api.junziqian.com';
        $this->tsType      = 2; /**默认ts单位:1毫秒,2秒*/
        //$this->url         = 'https://api.junziqian.com';
    }


}
